package com.mright.shop.manager.platform.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author : zhaochuanzhen
 * @description :
 * @date : 2020/7/29 11:24
 */
@Controller
@RequestMapping
public class PageController {

    @RequestMapping("/doLogin")
    public String login() {
        return "doLoginPage";
    }

    @GetMapping("/index")
    @ResponseBody
    public String index() {
        return "index";
    }
}
